﻿using Little.Soldier.SWIFT;
using Little.Soldier.SWIFT.Definition;
using System.Collections.Generic;
using System.ComponentModel;

namespace Little.Soldier.SWIFT.Messages.Category7
{
  public class MT707 : SwiftMessage
  {
    private static SwiftMessageDefinition MessageDefinition;
    private static SwiftTagDefinition U0002;
    private static SwiftTagSubItemDefinition U0003;
    private static SwiftTagDefinition U0004;
    private static SwiftTagSubItemDefinition U0005;
    private static SwiftTagDefinition U0006;
    private static SwiftTagSubItemDefinition U0007;
    private static SwiftTagChoiceDefinition U0008;
    private static SwiftTagDefinition U000E;
    private static SwiftTagSubItemDefinition U000F;
    private static SwiftTagSubItemDefinition U0010;
    private static SwiftTagDefinition U0011;
    private static SwiftTagSubItemDefinition U0012;
    private static SwiftTagSubItemDefinition U0013;
    private static SwiftTagDefinition U0014;
    private static SwiftTagSubItemDefinition U0015;
    private static SwiftTagDefinition U0016;
    private static SwiftTagSubItemDefinition U0017;
    private static SwiftTagDefinition U0018;
    private static SwiftTagSubItemDefinition U0019;
    private static SwiftTagDefinition U001A;
    private static SwiftTagSubItemDefinition U001B;
    private static SwiftTagSubItemDefinition U001C;
    private static SwiftTagSubItemDefinition U001D;
    private static SwiftTagDefinition U001E;
    private static SwiftTagSubItemDefinition U001F;
    private static SwiftTagDefinition U007F;
    private static SwiftTagSubItemDefinition U0080;
    private static SwiftTagSubItemDefinition U0081;
    private static SwiftTagDefinition U0082;
    private static SwiftTagSubItemDefinition U0083;
    private static SwiftTagSubItemDefinition U0084;
    private static SwiftTagDefinition U0086;
    private static SwiftTagSubItemDefinition U0087;
    private static SwiftTagSubItemDefinition U0088;
    private static SwiftTagDefinition U0089;
    private static SwiftTagSubItemDefinition U008A;
    private static SwiftTagSubItemDefinition U008B;
    private static SwiftTagDefinition U008C;
    private static SwiftTagSubItemDefinition U008D;
    private static SwiftTagDefinition U008E;
    private static SwiftTagDefinition U008F;
    private static SwiftTagSubItemDefinition U0090;
    private static SwiftTagDefinition U0091;
    private static SwiftTagSubItemDefinition U0092;
    private static SwiftTagDefinition U0093;
    private static SwiftTagSubItemDefinition U0094;
    private static SwiftTagDefinition U0095;
    private static SwiftTagSubItemDefinition U0096;
    private static SwiftTagDefinition U0097;
    private static SwiftTagSubItemDefinition U0098;
    private static SwiftTagDefinition U0099;
    private static SwiftTagDefinition U009A;
    private static SwiftTagDefinition U009B;

    [Description("Sender's Reference")]
    public Tag20 SendersReference_20
    {
      get
      {
        return new Tag20((SwiftElement) this, 0, (SwiftDefinitionElement) MT707.U0002);
      }
    }

    [Description("Sender's Reference")]
    public Tag20 Tag20_SendersReference
    {
      get
      {
        return this.SendersReference_20;
      }
    }

    [Description("Receiver's Reference")]
    public Tag21 ReceiversReference_21
    {
      get
      {
        return new Tag21((SwiftElement) this, 0, (SwiftDefinitionElement) MT707.U0004);
      }
    }

    [Description("Receiver's Reference")]
    public Tag21 Tag21_ReceiversReference
    {
      get
      {
        return this.ReceiversReference_21;
      }
    }

    [Description("Issuing Bank's Reference")]
    public MT707.Tag23 IssuingBanksReference_23
    {
      get
      {
        return new MT707.Tag23((SwiftElement) this, 0, (SwiftDefinitionElement) MT707.U0006);
      }
    }

    [Description("Issuing Bank's Reference")]
    public MT707.Tag23 Tag23_IssuingBanksReference
    {
      get
      {
        return this.IssuingBanksReference_23;
      }
    }

    [Description("Issuing Bank")]
    public Tag52A IssuingBank_52A
    {
      get
      {
        return new Tag52A((SwiftElement) this, 0, (SwiftDefinitionElement) MT707.U000E);
      }
    }

    [Description("Issuing Bank")]
    public Tag52A Tag52A_IssuingBank
    {
      get
      {
        return this.IssuingBank_52A;
      }
    }

    [Description("Issuing Bank")]
    public Tag52D IssuingBank_52D
    {
      get
      {
        return new Tag52D((SwiftElement) this, 0, (SwiftDefinitionElement) MT707.U0011);
      }
    }

    [Description("Issuing Bank")]
    public Tag52D Tag52D_IssuingBank
    {
      get
      {
        return this.IssuingBank_52D;
      }
    }

    [Description("Date Of Issue")]
    public Tag31C DateOfIssue_31C
    {
      get
      {
        return new Tag31C((SwiftElement) this, 0, (SwiftDefinitionElement) MT707.U0014);
      }
    }

    [Description("Date Of Issue")]
    public Tag31C Tag31C_DateOfIssue
    {
      get
      {
        return this.DateOfIssue_31C;
      }
    }

    [Description("Date Of Amendment")]
    public Tag30 DateOfAmendment_30
    {
      get
      {
        return new Tag30((SwiftElement) this, 0, (SwiftDefinitionElement) MT707.U0016);
      }
    }

    [Description("Date Of Amendment")]
    public Tag30 Tag30_DateOfAmendment
    {
      get
      {
        return this.DateOfAmendment_30;
      }
    }

    [Description("Number Of Amendment")]
    public Tag26E NumberOfAmendment_26E
    {
      get
      {
        return new Tag26E((SwiftElement) this, 0, (SwiftDefinitionElement) MT707.U0018);
      }
    }

    [Description("Number Of Amendment")]
    public Tag26E Tag26E_NumberOfAmendment
    {
      get
      {
        return this.NumberOfAmendment_26E;
      }
    }

    [Description("Beneficiary")]
    public Tag59 Beneficiary_59
    {
      get
      {
        return new Tag59((SwiftElement) this, 0, (SwiftDefinitionElement) MT707.U001A);
      }
    }

    [Description("Beneficiary")]
    public Tag59 Tag59_Beneficiary
    {
      get
      {
        return this.Beneficiary_59;
      }
    }

    [Description("New Date Of Expiry")]
    public Tag31E NewDateOfExpiry_31E
    {
      get
      {
        return new Tag31E((SwiftElement) this, 0, (SwiftDefinitionElement) MT707.U001E);
      }
    }

    [Description("New Date Of Expiry")]
    public Tag31E Tag31E_NewDateOfExpiry
    {
      get
      {
        return this.NewDateOfExpiry_31E;
      }
    }

    [Description("Increase Of Documentary Credit Amount")]
    public Tag32B IncreaseOfDocumentaryCreditAmount_32B
    {
      get
      {
        return new Tag32B((SwiftElement) this, 0, (SwiftDefinitionElement) MT707.U007F);
      }
    }

    [Description("Increase Of Documentary Credit Amount")]
    public Tag32B Tag32B_IncreaseOfDocumentaryCreditAmount
    {
      get
      {
        return this.IncreaseOfDocumentaryCreditAmount_32B;
      }
    }

    [Description("Decrease Of Documentary Credit Amount")]
    public Tag33B DecreaseOfDocumentaryCreditAmount_33B
    {
      get
      {
        return new Tag33B((SwiftElement) this, 0, (SwiftDefinitionElement) MT707.U0082);
      }
    }

    [Description("Decrease Of Documentary Credit Amount")]
    public Tag33B Tag33B_DecreaseOfDocumentaryCreditAmount
    {
      get
      {
        return this.DecreaseOfDocumentaryCreditAmount_33B;
      }
    }

    [Description("New Documentary Credit Amount After Amendment")]
    public Tag34B NewDocumentaryCreditAmountAfterAmendment_34B
    {
      get
      {
        return new Tag34B((SwiftElement) this, 0, (SwiftDefinitionElement) MT707.U0086);
      }
    }

    [Description("New Documentary Credit Amount After Amendment")]
    public Tag34B Tag34B_NewDocumentaryCreditAmountAfterAmendment
    {
      get
      {
        return this.NewDocumentaryCreditAmountAfterAmendment_34B;
      }
    }

    [Description("Percentage Credit Amount Tolerance")]
    public Tag39A PercentageCreditAmountTolerance_39A
    {
      get
      {
        return new Tag39A((SwiftElement) this, 0, (SwiftDefinitionElement) MT707.U0089);
      }
    }

    [Description("Percentage Credit Amount Tolerance")]
    public Tag39A Tag39A_PercentageCreditAmountTolerance
    {
      get
      {
        return this.PercentageCreditAmountTolerance_39A;
      }
    }

    [Description("Maximum Credit Amount")]
    public Tag39B MaximumCreditAmount_39B
    {
      get
      {
        return new Tag39B((SwiftElement) this, 0, (SwiftDefinitionElement) MT707.U008C);
      }
    }

    [Description("Maximum Credit Amount")]
    public Tag39B Tag39B_MaximumCreditAmount
    {
      get
      {
        return this.MaximumCreditAmount_39B;
      }
    }

    [Description("Additional Amounts Covered")]
    public Tag39C AdditionalAmountsCovered_39C
    {
      get
      {
        return new Tag39C((SwiftElement) this, 0, (SwiftDefinitionElement) MT707.U008E);
      }
    }

    [Description("Additional Amounts Covered")]
    public Tag39C Tag39C_AdditionalAmountsCovered
    {
      get
      {
        return this.AdditionalAmountsCovered_39C;
      }
    }

    [Description("Place Of Taking In Charge/Dispatch From/Place Of Receipt")]
    public Tag44A PlaceOfTakingInChargeDispatchFromPlaceOfReceipt_44A
    {
      get
      {
        return new Tag44A((SwiftElement) this, 0, (SwiftDefinitionElement) MT707.U008F);
      }
    }

    [Description("Place Of Taking In Charge/Dispatch From/Place Of Receipt")]
    public Tag44A Tag44A_PlaceOfTakingInChargeDispatchFromPlaceOfReceipt
    {
      get
      {
        return this.PlaceOfTakingInChargeDispatchFromPlaceOfReceipt_44A;
      }
    }

    [Description("Port Of Loading/Airport Of Departure")]
    public Tag44E PortOfLoadingAirportOfDeparture_44E
    {
      get
      {
        return new Tag44E((SwiftElement) this, 0, (SwiftDefinitionElement) MT707.U0091);
      }
    }

    [Description("Port Of Loading/Airport Of Departure")]
    public Tag44E Tag44E_PortOfLoadingAirportOfDeparture
    {
      get
      {
        return this.PortOfLoadingAirportOfDeparture_44E;
      }
    }

    [Description("Port Of Discharge/Airport Of Destination")]
    public Tag44F PortOfDischargeAirportOfDestination_44F
    {
      get
      {
        return new Tag44F((SwiftElement) this, 0, (SwiftDefinitionElement) MT707.U0093);
      }
    }

    [Description("Port Of Discharge/Airport Of Destination")]
    public Tag44F Tag44F_PortOfDischargeAirportOfDestination
    {
      get
      {
        return this.PortOfDischargeAirportOfDestination_44F;
      }
    }

    [Description("Place For Final Destination For/Transportation To/Place Of Delivery")]
    public Tag44B PlaceForFinalDestinationForTransportationToPlaceOfDelivery_44B
    {
      get
      {
        return new Tag44B((SwiftElement) this, 0, (SwiftDefinitionElement) MT707.U0095);
      }
    }

    [Description("Place For Final Destination For/Transportation To/Place Of Delivery")]
    public Tag44B Tag44B_PlaceForFinalDestinationForTransportationToPlaceOfDelivery
    {
      get
      {
        return this.PlaceForFinalDestinationForTransportationToPlaceOfDelivery_44B;
      }
    }

    [Description("Latest Date Of Shipment")]
    public Tag44C LatestDateOfShipment_44C
    {
      get
      {
        return new Tag44C((SwiftElement) this, 0, (SwiftDefinitionElement) MT707.U0097);
      }
    }

    [Description("Latest Date Of Shipment")]
    public Tag44C Tag44C_LatestDateOfShipment
    {
      get
      {
        return this.LatestDateOfShipment_44C;
      }
    }

    [Description("Shipment Period")]
    public Tag44D ShipmentPeriod_44D
    {
      get
      {
        return new Tag44D((SwiftElement) this, 0, (SwiftDefinitionElement) MT707.U0099);
      }
    }

    [Description("Shipment Period")]
    public Tag44D Tag44D_ShipmentPeriod
    {
      get
      {
        return this.ShipmentPeriod_44D;
      }
    }

    [Description("Narrative")]
    public Tag79[] Narrative_79
    {
      get
      {
        int index = -1;
        List<Tag79> list = new List<Tag79>();
        int count;
        do
        {
          ++index;
          Tag79 tag79 = new Tag79((SwiftElement) this, index, (SwiftDefinitionElement) MT707.U009A);
          count = this.ListTags((SwiftElement) tag79).Count;
          if (count > 0)
            list.Add(tag79);
        }
        while (count > 0);
        return list.ToArray();
      }
    }

    [Description("Narrative")]
    public Tag79[] Tag79_Narrative
    {
      get
      {
        return this.Narrative_79;
      }
    }

    [Description("Sender To Receiver Information")]
    public Tag72 SenderToReceiverInformation_72
    {
      get
      {
        return new Tag72((SwiftElement) this, 0, (SwiftDefinitionElement) MT707.U009B);
      }
    }

    [Description("Sender To Receiver Information")]
    public Tag72 Tag72_SenderToReceiverInformation
    {
      get
      {
        return this.SenderToReceiverInformation_72;
      }
    }

    public MT707()
      : base(true)
    {
    }

    public MT707(SwiftMessage message)
      : base(message)
    {
    }

    public Tag79 AddNarrative_79()
    {
      return new Tag79((SwiftElement) this, this.Narrative_79.Length, (SwiftDefinitionElement) MT707.U009A)
      {
        Value = string.Empty
      };
    }

    public void RemoveNarrative_79(Tag79 tag)
    {
      this.RemoveTag(tag.GetTag());
    }

    internal override SwiftMessageDefinition MsgDefinition()
    {
      return MT707.MessageDefinition;
    }

    protected override void InitSwiftMessageDefinition()
    {
      MT707.MessageDefinition = new SwiftMessageDefinition("MT707", "Amendment To a Documentary Credit");
      MT707.U0002 = new SwiftTagDefinition("SendersReference_20", "Sender's Reference");
      MT707.U0002.TagName = ":20:";
      MT707.U0003 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT707.U0002.Elements.Add((SwiftDefinitionElement) MT707.U0003);
      MT707.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT707.U0002);
      MT707.U0004 = new SwiftTagDefinition("ReceiversReference_21", "Receiver's Reference");
      MT707.U0004.TagName = ":21:";
      MT707.U0005 = new SwiftTagSubItemDefinition("Reference", "Reference");
      MT707.U0004.Elements.Add((SwiftDefinitionElement) MT707.U0005);
      MT707.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT707.U0004);
      MT707.U0006 = new SwiftTagDefinition("IssuingBanksReference_23", "Issuing Bank's Reference");
      MT707.U0006.TagName = ":23:";
      MT707.U0006.Mandatory = false;
      MT707.U0007 = new SwiftTagSubItemDefinition("IssuingBanksReference", "Reference");
      MT707.U0006.Elements.Add((SwiftDefinitionElement) MT707.U0007);
      MT707.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT707.U0006);
      MT707.U0008 = new SwiftTagChoiceDefinition("Choice", "");
      MT707.U0008.Mandatory = false;
      MT707.U0008.Multiple = true;
      MT707.U000E = new SwiftTagDefinition("IssuingBank_52A", "Issuing Bank");
      MT707.U000E.TagName = ":52A:";
      MT707.U000F = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT707.U000F.Mandatory = false;
      MT707.U000E.Elements.Add((SwiftDefinitionElement) MT707.U000F);
      MT707.U0010 = new SwiftTagSubItemDefinition("BankIdentifierCode", "Bank Identifier Code");
      MT707.U000E.Elements.Add((SwiftDefinitionElement) MT707.U0010);
      MT707.U0008.Elements.Add((SwiftDefinitionElement) MT707.U000E);
      MT707.U0011 = new SwiftTagDefinition("IssuingBank_52D", "Issuing Bank");
      MT707.U0011.TagName = ":52D:";
      MT707.U0012 = new SwiftTagSubItemDefinition("PartyIdentifier", "Party Identifier");
      MT707.U0012.Mandatory = false;
      MT707.U0011.Elements.Add((SwiftDefinitionElement) MT707.U0012);
      MT707.U0013 = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT707.U0011.Elements.Add((SwiftDefinitionElement) MT707.U0013);
      MT707.U0008.Elements.Add((SwiftDefinitionElement) MT707.U0011);
      MT707.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT707.U0008);
      MT707.U0014 = new SwiftTagDefinition("DateOfIssue_31C", "Date Of Issue");
      MT707.U0014.TagName = ":31C:";
      MT707.U0014.Mandatory = false;
      MT707.U0015 = new SwiftTagSubItemDefinition("Date", "Date");
      MT707.U0014.Elements.Add((SwiftDefinitionElement) MT707.U0015);
      MT707.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT707.U0014);
      MT707.U0016 = new SwiftTagDefinition("DateOfAmendment_30", "Date Of Amendment");
      MT707.U0016.TagName = ":30:";
      MT707.U0016.Mandatory = false;
      MT707.U0017 = new SwiftTagSubItemDefinition("Date", "Date");
      MT707.U0016.Elements.Add((SwiftDefinitionElement) MT707.U0017);
      MT707.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT707.U0016);
      MT707.U0018 = new SwiftTagDefinition("NumberOfAmendment_26E", "Number Of Amendment");
      MT707.U0018.TagName = ":26E:";
      MT707.U0018.Mandatory = false;
      MT707.U0019 = new SwiftTagSubItemDefinition("Number", "Number");
      MT707.U0018.Elements.Add((SwiftDefinitionElement) MT707.U0019);
      MT707.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT707.U0018);
      MT707.U001A = new SwiftTagDefinition("Beneficiary_59", "Beneficiary");
      MT707.U001A.TagName = ":59:";
      MT707.U001B = new SwiftTagSubItemDefinition("Account", "Account");
      MT707.U001B.Mandatory = false;
      MT707.U001C = new SwiftTagSubItemDefinition("Account_1", "Account");
      MT707.U001B.Elements.Add((SwiftDefinitionElement) MT707.U001C);
      MT707.U001A.Elements.Add((SwiftDefinitionElement) MT707.U001B);
      MT707.U001D = new SwiftTagSubItemDefinition("NameAndAddress", "Name And Address");
      MT707.U001A.Elements.Add((SwiftDefinitionElement) MT707.U001D);
      MT707.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT707.U001A);
      MT707.U001E = new SwiftTagDefinition("NewDateOfExpiry_31E", "New Date Of Expiry");
      MT707.U001E.TagName = ":31E:";
      MT707.U001E.Mandatory = false;
      MT707.U001F = new SwiftTagSubItemDefinition("Date", "Date");
      MT707.U001E.Elements.Add((SwiftDefinitionElement) MT707.U001F);
      MT707.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT707.U001E);
      MT707.U007F = new SwiftTagDefinition("IncreaseOfDocumentaryCreditAmount_32B", "Increase Of Documentary Credit Amount");
      MT707.U007F.TagName = ":32B:";
      MT707.U007F.Mandatory = false;
      MT707.U0080 = new SwiftTagSubItemDefinition("Currency", "Currency");
      MT707.U007F.Elements.Add((SwiftDefinitionElement) MT707.U0080);
      MT707.U0081 = new SwiftTagSubItemDefinition("Amount", "Amount");
      MT707.U007F.Elements.Add((SwiftDefinitionElement) MT707.U0081);
      MT707.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT707.U007F);
      MT707.U0082 = new SwiftTagDefinition("DecreaseOfDocumentaryCreditAmount_33B", "Decrease Of Documentary Credit Amount");
      MT707.U0082.TagName = ":33B:";
      MT707.U0082.Mandatory = false;
      MT707.U0083 = new SwiftTagSubItemDefinition("Currency", "Currency");
      MT707.U0082.Elements.Add((SwiftDefinitionElement) MT707.U0083);
      MT707.U0084 = new SwiftTagSubItemDefinition("Amount", "Amount");
      MT707.U0082.Elements.Add((SwiftDefinitionElement) MT707.U0084);
      MT707.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT707.U0082);
      MT707.U0086 = new SwiftTagDefinition("NewDocumentaryCreditAmountAfterAmendment_34B", "New Documentary Credit Amount After Amendment");
      MT707.U0086.TagName = ":34B:";
      MT707.U0086.Mandatory = false;
      MT707.U0087 = new SwiftTagSubItemDefinition("Currency", "Currency");
      MT707.U0086.Elements.Add((SwiftDefinitionElement) MT707.U0087);
      MT707.U0088 = new SwiftTagSubItemDefinition("Amount", "Amount");
      MT707.U0086.Elements.Add((SwiftDefinitionElement) MT707.U0088);
      MT707.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT707.U0086);
      MT707.U0089 = new SwiftTagDefinition("PercentageCreditAmountTolerance_39A", "Percentage Credit Amount Tolerance");
      MT707.U0089.TagName = ":39A:";
      MT707.U0089.Mandatory = false;
      MT707.U008A = new SwiftTagSubItemDefinition("Tolerance1", "Tolerance 1");
      MT707.U0089.Elements.Add((SwiftDefinitionElement) MT707.U008A);
      MT707.U008B = new SwiftTagSubItemDefinition("Tolerance2", "Tolerance 2");
      MT707.U0089.Elements.Add((SwiftDefinitionElement) MT707.U008B);
      MT707.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT707.U0089);
      MT707.U008C = new SwiftTagDefinition("MaximumCreditAmount_39B", "Maximum Credit Amount");
      MT707.U008C.TagName = ":39B:";
      MT707.U008C.Mandatory = false;
      MT707.U008D = new SwiftTagSubItemDefinition("Code", "Code");
      MT707.U008C.Elements.Add((SwiftDefinitionElement) MT707.U008D);
      MT707.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT707.U008C);
      MT707.U008E = new SwiftTagDefinition("AdditionalAmountsCovered_39C", "Additional Amounts Covered");
      MT707.U008E.TagName = ":39C:";
      MT707.U008E.Mandatory = false;
      MT707.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT707.U008E);
      MT707.U008F = new SwiftTagDefinition("PlaceOfTakingInChargeDispatchFromPlaceOfReceipt_44A", "Place Of Taking In Charge/Dispatch From/Place Of Receipt");
      MT707.U008F.TagName = ":44A:";
      MT707.U008F.Mandatory = false;
      MT707.U0090 = new SwiftTagSubItemDefinition("Narrative", "Narrative");
      MT707.U008F.Elements.Add((SwiftDefinitionElement) MT707.U0090);
      MT707.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT707.U008F);
      MT707.U0091 = new SwiftTagDefinition("PortOfLoadingAirportOfDeparture_44E", "Port Of Loading/Airport Of Departure");
      MT707.U0091.TagName = ":44E:";
      MT707.U0091.Mandatory = false;
      MT707.U0092 = new SwiftTagSubItemDefinition("Narrative", "Narrative");
      MT707.U0091.Elements.Add((SwiftDefinitionElement) MT707.U0092);
      MT707.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT707.U0091);
      MT707.U0093 = new SwiftTagDefinition("PortOfDischargeAirportOfDestination_44F", "Port Of Discharge/Airport Of Destination");
      MT707.U0093.TagName = ":44F:";
      MT707.U0093.Mandatory = false;
      MT707.U0094 = new SwiftTagSubItemDefinition("Narrative", "Narrative");
      MT707.U0093.Elements.Add((SwiftDefinitionElement) MT707.U0094);
      MT707.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT707.U0093);
      MT707.U0095 = new SwiftTagDefinition("PlaceForFinalDestinationForTransportationToPlaceOfDelivery_44B", "Place For Final Destination For/Transportation To/Place Of Delivery");
      MT707.U0095.TagName = ":44B:";
      MT707.U0095.Mandatory = false;
      MT707.U0096 = new SwiftTagSubItemDefinition("Narrative", "Narrative");
      MT707.U0095.Elements.Add((SwiftDefinitionElement) MT707.U0096);
      MT707.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT707.U0095);
      MT707.U0097 = new SwiftTagDefinition("LatestDateOfShipment_44C", "Latest Date Of Shipment");
      MT707.U0097.TagName = ":44C:";
      MT707.U0097.Mandatory = false;
      MT707.U0098 = new SwiftTagSubItemDefinition("Date", "Date");
      MT707.U0097.Elements.Add((SwiftDefinitionElement) MT707.U0098);
      MT707.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT707.U0097);
      MT707.U0099 = new SwiftTagDefinition("ShipmentPeriod_44D", "Shipment Period");
      MT707.U0099.TagName = ":44D:";
      MT707.U0099.Mandatory = false;
      MT707.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT707.U0099);
      MT707.U009A = new SwiftTagDefinition("Narrative_79", "Narrative");
      MT707.U009A.TagName = ":79:";
      MT707.U009A.Mandatory = false;
      MT707.U009A.Multiple = true;
      MT707.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT707.U009A);
      MT707.U009B = new SwiftTagDefinition("SenderToReceiverInformation_72", "Sender To Receiver Information");
      MT707.U009B.TagName = ":72:";
      MT707.U009B.Mandatory = false;
      MT707.MessageDefinition.Elements.Add((SwiftDefinitionElement) MT707.U009B);
    }

    public class Tag23 : SwiftTagWrapper
    {
      public string Value
      {
        get
        {
          return this.GetValue();
        }
        set
        {
          this.SetValue("23", value);
        }
      }

      internal Tag23(SwiftElement parent, int index, SwiftDefinitionElement definition)
        : base(parent, index, definition)
      {
      }
    }
  }
}
